//
//  PictureCollectionViewCell.m
//  LiangYa_BObject
//
//  Created by dllo on 15/10/30.
//  Copyright © 2015年 YuHao. All rights reserved.
//

#import "PictureCollectionViewCell.h"
@implementation PictureCollectionViewCell

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        self.myimageview = [[UIImageView alloc] init];
        [self.contentView addSubview:self.myimageview];
        self.myimageview.userInteractionEnabled = YES;
        
        
        

    }
    return self;
    
    
}


- (void)applyLayoutAttributes:(UICollectionViewLayoutAttributes *)layoutAttributes
{
    [super applyLayoutAttributes:layoutAttributes];
     self.backgroundColor = [UIColor clearColor];
    self.myimageview.frame = self.contentView.bounds;
    
}





@end
